﻿@model NapCardOnline.Models.News

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>News</legend>

    <div class="display-label">NewsTitle</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NewsTitle)
    </div>

    <div class="display-label">NewsAuthor</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NewsAuthor)
    </div>

    <div class="display-label">NewsShortDescription</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NewsShortDescription)
    </div>

    <div class="display-label">NewsDescription</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NewsDescription)
    </div>

    <div class="display-label">CategoryNew</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CategoryNew.CategoryNewsNo)
    </div>

    <div class="display-label">Language</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Language.LanguageNo)
    </div>

    <div class="display-label">IsActive</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsActive)
    </div>

    <div class="display-label">IsDelete</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.IsDelete)
    </div>

    <div class="display-label">AACreateDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AACreateDate)
    </div>

    <div class="display-label">AAUpdateDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AAUpdateDate)
    </div>

    <div class="display-label">AAUpdatedUser</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AAUpdatedUser)
    </div>

    <div class="display-label">AACreatedUser</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.AACreatedUser)
    </div>

    <div class="display-label">NewsOrder</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.NewsOrder)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
